
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
    <style>        body {
        font-family: Arial, sans-serif;
        background-color: #f4f4f4;
        margin: 0;
        padding: 20px;
    }

    .container {
        background-color: #fff;
        padding: 30px;
        border-radius: 12px;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        max-width: 800px;
        margin: 0 auto;
        border: 1px solid #e0e0e0;
    }

    h1 {
        text-align: center;
        font-size: 28px;
        color: #333;
    }

    label {
        display: block;
        margin-bottom: 5px;
        font-size: 16px;
        color: #333;
    }

    input[type="text"],
    input[type="password"] {
        width: 100%;
        padding: 10px;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 8px;
        font-size: 16px;
    }

    input[type="submit"] {
        width: 100%;
        padding: 15px;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 18px;
        transition: background-color 0.3s ease;
    }

    input[type="submit"]:hover {
        background-color: #0056b3;
    }
    </style>
</head>
<body>

<div class="container">
    <h1>注册页面</h1>
    <form action="/register" method="post">
        <label for="username">用户名</label>
        <input type="text" id="username" name="username" required>

        <label for="nickname">昵称</label>
        <input type="text" id="nickname" name="nickname" required>

        <label for="password">密码</label>
        <input type="password" id="password" name="password" required>

        <input type="submit" value="注册">
    </form>
</div>

</body>
</html>